﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Enterprise.Business
{
    public class BusinessException : Exception
    {
        // Methods
        public BusinessException()
        {
        }

        public BusinessException(string message)
            : base(message)
        {
        }

        protected BusinessException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public BusinessException(string message, Exception ex)
            : base(message, ex)
        {
        }
    }
    public enum Operation
    {
        Create,
        Retrieve,
        Update,
        Delete
    }
}
